package com.heima.service;

import com.heima.domain.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.dto.UserDto;
import com.heima.vo.CommonResult;
import com.heima.vo.LoginOpenidVO;
import com.heima.vo.RegisterVO;
import jdk.jfr.Threshold;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 小程序用户 服务类
 * </p>
 *
 * @author wangjiexin
 * @since 2023-01-29
 */
@Transactional(rollbackFor = RuntimeException.class)
public interface IUsersService extends IService<Users> {
     LoginOpenidVO getOpenId(String code);

     RegisterVO register(UserDto dto);
}
